﻿<%@ Page Language="C#" MasterPageFile="~/Template/Master_Admin.Master" AutoEventWireup="true" CodeBehind="QuanLyNhaSanXuat.aspx.cs" Inherits="BTN04.ADMIN.QuanLyNhaSanXuat" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style2
        {
            height: 52px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphMenuTrai" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 475px; height: 230px;"  align="center">
        <tr>
            <td style="color:Green;text-align:center; font-weight: bold;" class="style2">
                QUẢN LÝ NHÀ SẢN XUẤT</td>
        </tr>
        <tr>
            <td>
                <asp:DetailsView ID="DetailsView1" runat="server" Height="152px" Width="463px" 
                    AllowPaging="True" AutoGenerateRows="False" 
                    DataSourceID="ObjectDataSource1" Font-Bold="False">
                    <FooterStyle ForeColor="#FF0066" />
                    <CommandRowStyle ForeColor="#CC66FF" HorizontalAlign="Center" />
                    <RowStyle ForeColor="#3399FF" HorizontalAlign="Left" />
                    <FieldHeaderStyle ForeColor="Yellow" />
                    <PagerStyle HorizontalAlign="Center" ForeColor="#FF3300" 
                        VerticalAlign="Middle" />
                    <Fields>
                        <asp:TemplateField HeaderText="Mã nhà sản xuất" SortExpression="MaNhaSanXuat">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("MaNhaSanXuat") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <InsertItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("MaNhaSanXuat") %>'></asp:TextBox>
                            </InsertItemTemplate>
                            <ItemTemplate>
                                <asp:TextBox ID="TextBox2" runat="server" ReadOnly="True" Text='<%# Bind("MaNhaSanXuat") %>'></asp:TextBox>
                            </ItemTemplate>
                            <ControlStyle ForeColor="#FF9999" />
                            <ItemStyle ForeColor="Red" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="TenNhaSanXuat" HeaderText="Tên Nhà Sản Xuất" 
                            SortExpression="TenNhaSanXuat" />
                        <asp:TemplateField HeaderText="Tên Tình Trạng Nhà Sản Xuất" 
                            SortExpression="TenTinhTrangNhaSanXuat">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox2" runat="server" 
                                    Text='<%# Bind("TenTinhTrangNhaSanXuat") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <InsertItemTemplate>
                                <asp:TextBox ID="TextBox2" runat="server" 
                                    Text='<%# Bind("TenTinhTrangNhaSanXuat") %>'></asp:TextBox>
                            </InsertItemTemplate>
                            <ItemTemplate>
                                <asp:DropDownList ID="drTinhTrangNhaSanXuat" runat="server" Width="119px">
                                   
                                </asp:DropDownList>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:CommandField ShowEditButton="True" CancelText="Hủy" DeleteText="Xóa" 
                            EditText="Sửa" InsertText="Thêm" NewText="Thêm Mới" SelectText="Chọn" 
                            UpdateText="Cập Nhật" >
                            <ControlStyle ForeColor="#66FF33" />
                            <FooterStyle ForeColor="Lime" />
                            <HeaderStyle ForeColor="#00CC00" />
                        </asp:CommandField>
                        <asp:CommandField ShowInsertButton="True" CancelText="Hủy" DeleteText="Xóa" 
                            EditText="Sửa" InsertText="Thêm" NewText="Thêm Mới" SelectText="Chọn" 
                            UpdateText="Cập Nhật" >
                            <ControlStyle ForeColor="#CC33FF" />
                            <HeaderStyle ForeColor="Blue" />
                        </asp:CommandField>
                    </Fields>
                    <InsertRowStyle ForeColor="Yellow" />
                    <EditRowStyle ForeColor="Yellow" />
                </asp:DetailsView>
                <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                    SelectMethod="ThongTinToanBoNhaNhaSanXuat" TypeName="BTN04.BUS.NhaSanXuatBUS">
                </asp:ObjectDataSource>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphMEnuPhai" runat="server">
</asp:Content>
